import request from '@/utils/request'

export function lockList(data) {
  return request({
    url: '/admin.php?s=Admin.Lock.LockList',
    method: 'post',
    data,
  })
}

export function lockBind(data) {
  return request({
    url: '/admin.php?s=Admin.Lock.BindRoom',
    method: 'post',
    data,
  })
}

export function lockUnbind(data) {
  return request({
    url: '/admin.php?s=Admin.Lock.CancelBindRoom',
    method: 'post',
    data,
  })
}